package de.ars.client.items.elements;

import javax.microedition.lcdui.Graphics;

public abstract class AbstractItem 
{
	protected String key = null;
	protected String text = null;
	protected String value = null;
	
	public abstract void paint( Graphics g, boolean selected);//, boolean isEditItemOpen );
	public abstract void keyPressed(int arg0);
	public abstract int getHeight();
	
	public String getKey()
    {
    	return this.key;
    }
	
	public void setKey(String _key)
	{
		this.key = _key;
	}
	
	public String getText()
    {
    	return this.text;
    }
	
	public String getValue()
	{
		return this.value;
	}
	
	public void setValue(String _value)
	{
		this.value = _value;
	}
}
